import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)

import homepage from '../components/tabbar/HomePage.vue'
import singer from '../components/tabbar/SingerContainer.vue'
import billboard from '../components/tabbar/Billboard.vue'
import search from '../components/tabbar/SearchContainer.vue'
import mine from '../components/tabbar/MineContainer.vue'

import singerinfo from '../components/info/SingerInfo.vue' //歌曲列表页
import singerintro from '../components/info/SingerIntro.vue' //歌手详细介绍
import playsongs from '../components/info/PlaySongs.vue' //歌曲播放页面


import DisplayMore from '../components/Test/DisplayMore.vue'
import BillList from '../components/Test/BillList.vue'
import BillFirstList from '../components/Test/BillFirstList.vue'
import musicBillAll from '../components/Test/musicBillAll.vue' //音乐榜单的全部



import BillInfo from '../components/info/BillInfo.vue'//榜单歌曲详情

export default new Router({
  routes: [
    {path:'/',redirect:'/home'},
    {path:'/home',component:homepage},
    {path:'/singer',component:singer},
    {path:'/billboard',component:billboard},
    {path:'/search',component:search},
    {path:'/mine',component:mine},
    {path:'/singer/singerinfo/:id',component:singerinfo},
    {path:'/singer/singerinfo/singerintro/:id',component:singerintro},
    {path:'/singer/singerinfo',component:singerinfo},
<<<<<<< HEAD
    
    {path:'/hotsong',component:hotsongbill},
    {path:'/newsong',component:newsongbill},
    {path:'/king',component:king},
    {path:'/hotdoor',component:hotdoor},//热门榜单
    {path:'/newfast',component:newfast}, //新歌速递
    {path:'/todayall',component:todayall }, //第一个今日榜单全部
    {path:'/firstToday',component:firstTodayBill },//第一个今日榜单
    {path:'/newfastAll',component:newsongfastall }, //显示新歌速递全部
    {path:'/hotDoorAll',component:hotdoorall }, //显示热门歌曲全部
=======

    {path:'/displayMore/:type/:title',component:DisplayMore,name:'toDisplayMore'},
    {path:'/billList/:type',component:BillList,name:'toDisplayMore'},//音乐榜单
    {path:'/billFirstList/:type',component:BillFirstList,name:'toDisplayMore'},//音乐榜单
    {path:'/musicBillAll',component:musicBillAll },//音乐榜单的全部

    {path:'/NewInfo',component:NewInfo},
    {path:'/InternetInfo',component:InternetInfo},
    {path:'/LoverInfo',component:LoverInfo},
    {path:'/OldInfo',component:OldInfo},
    {path:'/RockInfo',component:RockInfo},
    {path:'/EAGoldInfo',component:EAGoldInfo},
    {path:'/HotInfo',component:HotInfo},
    {path:'/FilmInfo',component:FilmInfo},
  

>>>>>>> ada3513777fbcc70d88ff92a3b6808a69bec61ae
    {path:'/playsongs/:song_id',component:playsongs }, //歌曲播放页面

    


    {path:'/BillInfo/:type',component:BillInfo},//榜单详情

  ]
 
  })
